package com.itheima.pojo;

import java.util.List;

/**
 * 健康干预实体类
 */
public class Intervention {
    private Integer id;//主键id
    private Integer physicalexamId;//体检结果ID
    private String dietAssociation;//膳食干预
    private String motionAssociation;//运动干预
    private List<KnowledgeFood> knowledgeFoods;//一个健康干预包含多个膳食数据
    private List<KnowledgeSport> knowledgeSports;//一个健康干预包含多个运动数据

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPhysicalexamId() {
        return physicalexamId;
    }

    public void setPhysicalexamId(Integer physicalexamId) {
        this.physicalexamId = physicalexamId;
    }

    public String getDietAssociation() {
        return dietAssociation;
    }

    public void setDietAssociation(String dietAssociation) {
        this.dietAssociation = dietAssociation;
    }

    public String getMotionAssociation() {
        return motionAssociation;
    }

    public void setMotionAssociation(String motionAssociation) {
        this.motionAssociation = motionAssociation;
    }

    public List<KnowledgeFood> getKnowledgeFoods() {
        return knowledgeFoods;
    }

    public void setKnowledgeFoods(List<KnowledgeFood> knowledgeFoods) {
        this.knowledgeFoods = knowledgeFoods;
    }

    public List<KnowledgeSport> getKnowledgeSports() {
        return knowledgeSports;
    }

    public void setKnowledgeSports(List<KnowledgeSport> knowledgeSports) {
        this.knowledgeSports = knowledgeSports;
    }
}
